Fix name of gnus-notification(s)-close; ignore argument
authorEric Abrahamsen <eric@ericabrahamsen.net>
Wed, 13 Mar 2024 14:38:49 +0000 (07:38 -0700)
committerEric Abrahamsen <eric@ericabrahamsen.net>
Wed, 13 Mar 2024 14:38:49 +0000 (07:38 -0700)
* lisp/gnus/gnus-notifications.el (gnus-notifications-close): Original
name was probably a typo.

lisp/gnus/gnus-notifications.el

index 9ef21c91627e2996cfc2deefc0805d83b650e916..35f90ebfe4060f22b6230cfbd1cf9ab7cd48f739 100644 (file)
@@ -88,7 +88,7 @@ not get notifications."
   ;; an action of theirs) are selected
   (assoc-delete-all id gnus-notifications-id-to-msg))
 
-(defun gnus-notification-close (id reason)
+(defun gnus-notifications-close (id _reason)
   "Remove ID from the alist of notification identifiers to messages.
 REASON is ignored."
   (assoc-delete-all id gnus-notifications-id-to-msg))